package com.yxq.mdt.app.modules.socialcontact.adapter;


import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yxq.mdt.app.R;
import com.yxq.mdt.app.glide.GlideHelper;
import com.yxq.mdt.app.modules.socialcontact.bean.MainSocialContactRecommendBean;
import com.yxq.mdt.app.modules.socialcontact.bean.SocialStateRecommendContactBean;

import java.util.List;

public class SocialStateContactRecommendAdapter extends BaseQuickAdapter<MainSocialContactRecommendBean.ListBean.FileListBean, BaseViewHolder> {
    public SocialStateContactRecommendAdapter(int layoutResId, @Nullable List<MainSocialContactRecommendBean.ListBean.FileListBean> data) {
        super(layoutResId, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, MainSocialContactRecommendBean.ListBean.FileListBean item) {
        GlideHelper.setLoadRoundAttentionImage(mContext, item.getFile(), R.color.gray, helper.getView(R.id.panic_tv_count_img));
    }
}
